package huizhi.service.flower;

import java.util.List;

public class Costom {
    private Integer peopleNum;
    private double totalAmount;
    private List<RegionalAmount> regionalAmounts;

    public Costom(Integer peopleNum, double totalAmount, List<RegionalAmount> regionalAmounts) {
        this.peopleNum = peopleNum;
        this.totalAmount = totalAmount;
        this.regionalAmounts = regionalAmounts;
    }

    public List<RegionalAmount> getRegionalAmounts() {
        return regionalAmounts;
    }

    public void setRegionalAmounts(List<RegionalAmount> regionalAmounts) {
        this.regionalAmounts = regionalAmounts;
    }

    public Costom() {
    }

    public Costom(Integer peopleNum, double totalAmount) {
        this.peopleNum = peopleNum;
        this.totalAmount = totalAmount;
    }

    public Integer getPeopleNum() {
        return peopleNum;
    }

    public void setPeopleNum(Integer peopleNum) {
        this.peopleNum = peopleNum;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }

    @Override
    public String toString() {
        return "Costom{" +
                "peopleNum=" + peopleNum +
                ", totalAmount=" + totalAmount +
                '}';
    }
}
